.PHONY: all
all: json mysqlclient wsserver

json: json.cpp
	g++ -std=c++11 json.cpp -o json -lpthread  -lboost_system -ljsoncpp
mysqlclient: mysqlclient.cpp
	g++ mysqlclient.cpp -o mysqlclient -L/usr/lib/mysql -lmysqlclient
wsserver: wsserver.cpp
	g++ -std=c++11 wsserver.cpp -o wsserver -lboost_system -lpthread



.PHONY: clean
clean:
	rm -f json mysqlclient wsserver
